<?php

/**
 * Template generated block about Question info
 * with per-tag counter with links to tags,
 * number of views,
 * Relative times of post and last updated
 * 
 * This block is shown on the Viewqestion page
 *
 */
class tplQuestionInfo extends StudyBuddy\Template\Template
{
	
	protected static $vars = array(
	'tags' => '', //1
	'asked' => '', //2
	'updated' => '',//3
	'views' => '', //4
	'asked_label' => 'Asked', //5
	'views_label' => 'Views', // 6
	'updated_label' => 'Last updated', //7
	'ans_count_label' => 'Answers', // 8
	'ans_count' => '0' //9
	);
	
	
	protected static $tpl = '
	<div class="box pl10" id="question_details">
		%1$s
		<div class="box fl cb qinfo">
			%5$s<br>
			<strong>%2$s</strong><br><br>
			%6$s<br>
			<strong>%4$s</strong><br><br>
			%8$s<br>
			<strong>%9$s</strong><br><br>
			%7$s<br>
			<strong>%3$s</strong>
		</div>
	</div>';
	
}
